Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plotNMDS to miaViz #116

Merged
merged 16 commits into from
Jun 28, 2024
Merged

Add plotNMDS to miaViz #116

merged 16 commits into from
Jun 28, 2024

Conversation

thpralas
Copy link
Contributor

This PR adds plotNMDS to miaViz (plotNMDS will be deprecated in the mia package).

This PR does not add documentation for plotNMDS because it is only a simple wrapper for scater::plotReducedDim and it would not fit under already existing man pages.

@thpralas
Copy link
Contributor Author

This PR is related to microbiome/mia#517

@thpralas thpralas requested a review from TuomasBorman April 17, 2024 08:45
@TuomasBorman
Copy link
Contributor

Can you add tests?

You can add same 3 lines that were removed in PR https://github.com/microbiome/mia/pull/517/files

@antagomir
Copy link
Member

Seems good. Resolve conflicts.

thpralas and others added 2 commits May 22, 2024 10:51
Merge branch 'devel' of https://github.com/microbiome/miaViz into move_plotNMDS

# Conflicts:
#	NEWS
@antagomir
Copy link
Member

up

@thpralas
Copy link
Contributor Author

@TuomasBorman I think we agreed it is better for plotNMDS not to have its own manual page and that it does not fit in already existing manual pages in miaViz but I do not think it is possible to leave it without documentation. I tried to export it without documentation but I always get the following R CMD check warning:

Undocumented code objects:
    ‘plotNMDS’
  All user-level objects in a package should have documentation entries.
  See chapter ‘Writing R documentation files’ in the ‘Writing R
  Extensions’ manual.

@TuomasBorman
Copy link
Contributor

Alright! You could add minimum documentation. Something like wrapper for plotReducedDim(). And just x parameter.

@TuomasBorman
Copy link
Contributor

❯ checking Rd \usage sections ... WARNING
Undocumented arguments in Rd file 'plotNMDS.Rd'
‘...’ ‘ncomponents’

@TuomasBorman TuomasBorman merged commit 867d9de into devel Jun 28, 2024
1 of 3 checks passed
@TuomasBorman TuomasBorman deleted the move_plotNMDS branch June 28, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants